<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui">

    <h:panelGroup>
        <h:panelGroup rendered="#{autorizador.hayPermisoAccion('CreaCliente')}">
            <h:panelGrid columns="3">
                <p:spacer width="26"/>
                <h:commandButton image="/imagenes/add.png" action="nuevo.xhtml"/>
                <h:commandLink value="Nuevo Cobro" action="nuevo.xhtml" />
            </h:panelGrid>


        </h:panelGroup>   


        <p:accordionPanel>
            <p:tab title="Mis Consultas">
                <h:panelGrid columns="1" cellpadding="5" style="font-size: 10pt">
                    <h:commandLink value="Todos"/>
                    <h:commandLink value="Cobros del dia"/>
                    <h:commandLink value="Cobros del mes"/>
                    <h:commandLink value="Cobros efectivo"/>
                    <h:commandLink value="Cobros cheques"/>
                    <h:commandLink value="Cobros otros"/>

                </h:panelGrid>

            </p:tab>

            <p:tab title="Alertas">

                <h:panelGrid columns="1" cellpadding="5" style="font-size: 10pt">
                    <h:commandLink value="Cuotas no saldadas"/>
                </h:panelGrid>
            </p:tab>



        </p:accordionPanel>







    </h:panelGroup>

</ui:composition>
